using System.ComponentModel.DataAnnotations;

namespace MudWebApp.Models;

public class AppUser
{
    public Guid Id { get; set; }
    [MaxLength(20)]
    public string Name { get; set; } = string.Empty;
    [MaxLength(50), EmailAddress,DataType(DataType.EmailAddress)]
    public string Email { get; set; } = string.Empty;
    [MaxLength(200),DataType(DataType.Password)]
    public string Password { get; set; } = string.Empty;
}